package org.example.message;

import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;

public class StudentOperateMessage {

    private static final Logger logger = LogManager.getLogger(StudentOperateMessage.class);
    public static void studentAlreadyExist() {
        logger.info("学生信息已存在！！！");
    }

    public static void studentNoExist() {
        logger.info("学生信息不存在！！！");
    }

    public static void studentAddFailed() {
        logger.info("添加失败！");
    }

    public static void studentAddSuccess() {
        logger.info("添加成功！！！");
    }

    public static void studentDeleteFailed() {
        logger.info("无法删除！");
    }

    public static void studentDeleteSuccess() {
        logger.info("删除成功！！！");
    }

    public static void studentUpdateFailed() {
        logger.info("更新失败！！！");

    }

    public static void studentUpdateSuccess() {
        logger.info("更新成功！！！");
    }

    public static void studentSelectFailed() {
        logger.info("查询失败！");

    }

    public static void studentSelectSuccess() {
        logger.info("查询成功！");
    }

    public static void studentElectiveNone() {
        logger.info("该学生未选择任何课程");
    }

}
